class Dog extends Animal{
    public String name;
    public String color;
    public int age;
    static{
        System.out.println("dog.static");
    }
    public Dog(String name,int age){
        super(name,age);
        System.out.println("dog.构造");
    }
    {
        System.out.println("dog.实例");
    }
    public void bark(){
        System.out.println(name+"汪汪叫");
    }
}
